﻿using System;
using System.Windows.Forms;

namespace TeamReview.UI
{
    public partial class TextBoxEllipsisButton : UserControl
    {
        public TextBoxEllipsisButton()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.OnClick(e);
        }

        public override string Text
        {
            get
            {
                return textBox1.Text;
            }
            set
            {
                this.textBox1.Text = value;
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
          this.textBox1.Text = String.Empty;
        }
    }
}
